package com.huawei.door;

import com.huawei.member.*;
public class Output {
    // 构造方法的重载
    public Output(Staff staff) {

        System.out.println("*******************");
        System.out.println("姓名：" + staff.name);
        System.out.println("性别：" + staff.gender);
        System.out.println("所属部门：" + staff.department);
        System.out.println("岗位：" + staff.position);
        System.out.println("*******************");
    }
}